package com.aaa.service;

import com.aaa.entity.Dept;
import com.aaa.entity.RegisteredItem;
import com.aaa.entity.User;
import com.aaa.vo.DeptVo;
import com.aaa.vo.RegisteredVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface RegisteredItemService extends IService<RegisteredItem>  {

    //删除
    boolean delById(Long id);

    Result<IPage<RegisteredItem>> findByConditions(Integer currentPage, Integer pageSize, RegisteredVo registeredVo);

    boolean saveAndUpdate(RegisteredItem registeredItem);
    //模块接口
    List<RegisteredItem> getAllRegisteredItems();
}
